package org.goyo.main.services.base;

import java.util.List;

import org.goyo.common.exception.DBException;
import org.goyo.common.exception.ServiceException;
import org.goyo.common.utils.Pager;
import org.goyo.main.domain.entity.BaseObject;
import org.goyo.main.domain.entity.base.Customer;
import org.goyo.main.domain.excelBean.CustomerExcel;

public interface ICustomerService {
	
	public Pager<Customer> findByCondition(String where,Pager pager) throws DBException,ServiceException; 
	
	public BaseObject saveOrUpdateInfo(Customer customer) throws DBException,ServiceException;
	
	public void delByUuids(Object[] uuids) throws DBException,ServiceException;
	
	public Customer findByUuid(String uuid) throws DBException,ServiceException;
	
	public BaseObject submitInfo(Object[] uuids) throws DBException,ServiceException;

	public BaseObject auditInfo(Object[] uuids) throws DBException,ServiceException;

	public BaseObject unAuditInfo(Object[] uuids) throws DBException,ServiceException;

	public boolean checkNumberUsed(String uuid, String number)throws DBException,ServiceException;
	
    public void saveOrUpdateCustomerList(List<CustomerExcel> list) throws DBException, ServiceException;


}
